package model;

import java.util.ArrayList;

public class Sensor {
	
	private String name;
	private int sensorID;
	private String unity;
	private double maxvalue;
	private ArrayList<Measurement> measurements = new ArrayList<Measurement>();
	
	public Sensor(int sensorID, String name, String unity, double maxvalue, ArrayList<Measurement> measurements){
		this.sensorID = sensorID;
		this.name = name;
		this.unity = unity;
		this.maxvalue = maxvalue;
		this.measurements = measurements;
	}
	
	public int getID(){
		return sensorID;
	}
	
	public double getMaxValue(){
		return maxvalue;
	}
	
	public String getName(){
		return name;
	}
	
	public String getUnity(){
		return unity;
	}
	
	public ArrayList<Measurement> getMeasurements(){
		return measurements;
	}
	
}
